package com.example.librarymanagementsystembackend.usermanagement.entity;

/**
 * 用户扩展信息类
 */
public class UserProfile {
    private String avatarUrl;       // 用户头像的URL
    private String backgroundColor; // 用户背景颜色（十六进制值）

    public UserProfile() {
    }

    // Getter 和 Setter

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public String getBackgroundColor() {
        return backgroundColor;
    }

    public void setBackgroundColor(String backgroundColor) {
        this.backgroundColor = backgroundColor;
    }

    @Override
    public String toString() {
        return "UserProfile{" +
                "avatarUrl='" + avatarUrl + '\'' +
                ", backgroundColor='" + backgroundColor + '\'' +
                '}';
    }
}